package IC.AST;
/**
 * A base interface for the AST interface hierarchy 
 */
import IC.AST.Visitor;

public abstract class ASTNode {
    private int 	line;
    private int		column;
	
	abstract public Object accept(Visitor v);
    
	public ASTNode(int line, int column) {
		this.line = line;
		this.column = column;
		}

	/**
	 * @return the column
	 */
	public int getColumn() {
		return column;
	}

	/**
	 * @return the line
	 */
	public int getLine() {
		return line;
	}
	
	
}

